filename = "programming.txt"

with open(filename, 'a') as f_object:
    f_object.write("I like programming.\n")
    f_object.write("I like Python.\n")
    f_object.write("我喜欢python.\n")

